from django.shortcuts import render
from sqltest.models import User
from sqltest import forms
# Create your views here.


def save_user(request):
    user = User()
    user.username = 'request'
    user.save()
    return render(request, './html/sqltest.html', locals())


def modify_user(request):
    pass


def delete_user(request):
    pass


def select_user(request):
    users = User.objects.all()


def sql_code(request):
    return render(request, './html/sql_code.html')